package com.loup.registory;

/**
 * Created by loup on 2018/4/30.
 */
public class MethodSqlMapper<T> {

    //接口中执行方法的全路径名称
    private String methodPath;

    //接口对应的sql语句
    private String sql;

    //执行结果返回的类型
    private Class<T> returnType;

    public MethodSqlMapper(String methodPath, String sql, Class<T> returnType) {
        this.methodPath = methodPath;
        this.sql = sql;
        this.returnType = returnType;
    }

    public String getMethodPath() {
        return methodPath;
    }

    public void setMethodPath(String methodPath) {
        this.methodPath = methodPath;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Class<T> getReturnType() {
        return returnType;
    }

    public void setReturnType(Class<T> returnType) {
        this.returnType = returnType;
    }
}
